// 用户模型对象
const mongoose = require("mongoose");

const schema = new mongoose.Schema({
  username: String,
  password: String,
  nickname: String,
  avatar: String,
});

module.exports = mongoose.model("User", schema);
